package com.sw.bbs.board.vo.response.board;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sw.bbs.common.constant.BBSConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel("操作响应")
public class BoardOperaResponse {


    @ApiModelProperty("板块ID")
    private Integer boardId;

    @ApiModelProperty("板块标题")
    private String title;

    @ApiModelProperty("操作时间")
    @JsonFormat(pattern = BBSConstant.DATE_FORMAT, timezone= BBSConstant.DATE_TIMEZONE)
    @DateTimeFormat(pattern = BBSConstant.DATE_FORMAT)
    private Date createTime;

}
